package com.feicheng.persistence.entity;

import java.time.LocalDate;
import java.time.LocalTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 课程单节
 * </p>
 *
 * @author cailongyang
 * @since 2025-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Akechengitem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程单节ID
     */
    @TableId
    private String kcitemid;

    /**
     * 章节名称
     */
    private String itemname;

    /**
     * 课程ID
     */
    private String kcid;

    /**
     * 日期
     */
    @DateTimeFormat(pattern= "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate dt;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime st;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern= "HH:mm")
    @JsonFormat(pattern="HH:mm", timezone = "GMT+8")
    private LocalTime et;

    /**
     * 场地使用记录ID
     */
    private String rmsyid;

    /**
     * 房间ID
     */
    private String roomid;

    /**
     * 门店ID
     */
    private String storeid;


}
